package com.zj.system;


import com.zj.system.config.RsaKeyProperties;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.context.properties.EnableConfigurationProperties;
import org.springframework.context.annotation.ComponentScan;

/**
 * @program: clms-seventh
 * @description: 系统管理的启动类
 * @author: 张静
 * @create: 2021-07-16 19:56
 **/
@SpringBootApplication
@MapperScan(basePackages = {"com.zj.system.mapper"})
@ComponentScan(basePackages = {"com.zj.system","com.seventh.common"}) //默认扫描的组件为主启动类所在的包以及子包   自定义扫描的包
@EnableConfigurationProperties(value = {RsaKeyProperties.class})

public class SystemApp {
    public static void main(String[] args) {
        SpringApplication.run(SystemApp.class,args);
    }
}
